﻿using System;

namespace Matrix.MaKaYunShang.Model
{
	/// <summary>
	///商家资金变动表
	/// </summary>
	public class SysMoneyChangeRecord
	{

        #region 默认属性
        /// <summary>
        /// Id
        /// </summary>		
        public int Id { get; set; }
        /// <summary>
        /// 公众号ID
        /// </summary>		
        public int MxProjectInfoId { get; set; }
        /// <summary>
        /// 变动前金额
        /// </summary>		
        public decimal BeforeMoney { get; set; }
        /// <summary>
        /// 变动后金额
        /// </summary>		
        public decimal AfterMoney { get; set; }
        /// <summary>
        /// 变动来源(0充值1红包发放2商品货款3商品退款)
        /// </summary>		
        public int ChangeSource { get; set; }
        /// <summary>
        /// 变动关联流水号
        /// </summary>		
        public string ChangeSerialNumber { get; set; }
        /// <summary>
        /// 变动金额
        /// </summary>		
        public decimal ChangeMoney { get; set; }
        /// <summary>
        /// 操作人OPENID
        /// </summary>		
        public string OperaOpenId { get; set; }
        /// <summary>
        /// 操作人员id
        /// </summary>		
        public int OperaUserId { get; set; }
        /// <summary>
        /// 操作人员id来源(0消费者 1平台 2 外部活动)
        /// </summary>		
        public int OperaSource { get; set; }
        /// <summary>
        /// 操作结果(0 待操作1操作失败2操作成功)
        /// </summary>		
        public int OperaResult { get; set; }
        /// <summary>
        /// 外部活动传入标识符
        /// </summary>		
        public string OutActivityCode { get; set; }
        /// <summary>
        /// 资金流水关联的订单ID
        /// </summary>		
        public int OrderId { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>		
        public DateTime AddTime { get; set; }
        /// <summary>
        /// 0有效数据  1已删除
        /// </summary>		
        public bool IsDelete { get; set; }
        #endregion

     
		
		#region 扩展属性
		#endregion
	}
}